using System;
using System.Collections.Generic;
using System.Text;

namespace miciv
{
    public partial class DataSource : DataSourceBase<string>
    {
        public DataSource()
        {

        }

        override public T GetData<T>(int _sSourceIndex, string _strFieldName)
        {
            if (this.Count > _sSourceIndex)
            {
                if (("name" == _strFieldName) && (typeof(string) == typeof(T)))
                {
                    return this.m_lstData[_sSourceIndex].Value as T;
                }
            }
            return default(T);
        }
    }
}
